<template>
  <div id="app">
    <div id="nav">
      <fade>
        <div slot="header">
          <router-view></router-view>
        </div>
      </fade>
      <!-- 底部导航 -->
      <tabbar></tabbar>
    </div>
  </div>
</template>

<script>
import fade from "./components/Fade";
import tabbar from "./components/Tabbar";
export default {
  data() {
    return {};
  },
  components: {
    tabbar,
    fade
  },
  mounted() {
    this.$router.push({ path: "/home" });
  }
};
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
</style>
